package com.jsu.springboot_crop.service;

import com.jsu.springboot_crop.entity.Reserve;

import java.util.List;

public interface ReserveService {
    void insert(Reserve reserve);
    //查询个人预约
    List<Reserve> selectByReserve(String type);
    //    根据id修改预约
    void updateById(Reserve reserve);
    //    删除预约
    void delete(Integer id);
    //    根据id查询预约
    Reserve selectById(Integer id);
}
